import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const dashboard: AppRouteModule = {
  path: '/sd',
  name: 'Sd',
  component: LAYOUT,
  redirect: '/sd/proj/main',
  meta: {
    // hideChildrenInMenu: true,
    icon: 'ant-design:trophy-outlined',
    title: '增删改查DEMO',
    orderNo: 3,
  },
  children: [
    {
      path: 'proj/main',
      name: 'SdProjMain',
      component: () => import('/@/pages/sd/proj/main/index.vue'),
      meta: {
        title: '项目信息DEMO',
        ignoreKeepAlive: false,
        // icon: 'simple-icons:about-dot-me',
        // hideMenu: true,
      },
    },
    {
      path: 'cust/main',
      name: 'SdCustMain',
      component: () => import('/@/pages/sd/cust/main/index.vue'),
      meta: {
        title: '客户信息DEMO',
        ignoreKeepAlive: false,
        // icon: 'simple-icons:about-dot-me',
        // hideMenu: true,
      },
    },
  ],
};

export default dashboard;
